package com.ydkj.a37e_mall.Classes.Model.Response;

import java.util.List;

/**
 * Created by Administrator on 2017/2/17.
 */

public class ProductcomplexResp {


    /**
     * errno : 000
     * errmsg :
     * result : {"data":[{"id":"6","name":"手机","created_at":"2017-01-23 17:42:12","updated_at":"2017-01-23 17:56:11","produces":[{"thumb":[],"id":"16","name":"iPhone6","model":"iPhone6","list_title":"iPhone6","description":"水电费水电费","market_price":"2000.00","brand":"apple","type":"手机","list_thumb":"http://oka115078.bkt.clouddn.com/o_1b7f4fpk4alb1s17kah1cq81j019.png","album":["http://oka115078.bkt.clouddn.com/9f0da49d3b7d853b872672fc40c9e6d1.png","http://oka115078.bkt.clouddn.com/a10720c859c1824fe8711acda96b7ddc.png","http://oka115078.bkt.clouddn.com/2b48d54706965830f0efb5bdaa8460ec.png"],"created_at":"2017-01-28 19:32:38","updated_at":"2017-01-28 19:32:38","price":"","sales":"2000","url":""},{"thumb":[],"id":"14","name":"iPhone","model":"iPhone","list_title":"iPhone","description":"123123","market_price":"2000.00","brand":"apple","type":"手机","list_thumb":"http://oka115078.bkt.clouddn.com/1","album":[],"created_at":"2017-01-27 10:48:24","updated_at":"2017-01-27 10:48:24","price":"","sales":"0","url":""}]},{"id":"7","name":"电脑","created_at":"2017-01-23 17:42:31","updated_at":"2017-01-23 17:56:11","produces":[{"thumb":[],"id":"1","name":"123","model":"123","list_title":"123","description":"456","market_price":"666.00","brand":"apple","type":"电脑","list_thumb":"http://oka115078.bkt.clouddn.com/","album":["http://oka115078.bkt.clouddn.com/9f2cda30d35c7212037246e5288ed63e.png","http://oka115078.bkt.clouddn.com/128f594265efc5aa57559dbdb81dc038.png"],"created_at":"2017-01-24 18:11:35","updated_at":"2017-02-12 21:27:45","price":"","sales":"0","url":""}]}],"total_page":"","current_page":"","total":"","access_token":""}
     */

    private String errno;
    private String errmsg;
    private ResultEntity result;

    public String getErrno() {
        return errno;
    }

    public void setErrno(String errno) {
        this.errno = errno;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

    public ResultEntity getResult() {
        return result;
    }

    public void setResult(ResultEntity result) {
        this.result = result;
    }

    public static class ResultEntity {
        /**
         * data : [{"id":"6","name":"手机","created_at":"2017-01-23 17:42:12","updated_at":"2017-01-23 17:56:11","produces":[{"thumb":[],"id":"16","name":"iPhone6","model":"iPhone6","list_title":"iPhone6","description":"水电费水电费","market_price":"2000.00","brand":"apple","type":"手机","list_thumb":"http://oka115078.bkt.clouddn.com/o_1b7f4fpk4alb1s17kah1cq81j019.png","album":["http://oka115078.bkt.clouddn.com/9f0da49d3b7d853b872672fc40c9e6d1.png","http://oka115078.bkt.clouddn.com/a10720c859c1824fe8711acda96b7ddc.png","http://oka115078.bkt.clouddn.com/2b48d54706965830f0efb5bdaa8460ec.png"],"created_at":"2017-01-28 19:32:38","updated_at":"2017-01-28 19:32:38","price":"","sales":"2000","url":""},{"thumb":[],"id":"14","name":"iPhone","model":"iPhone","list_title":"iPhone","description":"123123","market_price":"2000.00","brand":"apple","type":"手机","list_thumb":"http://oka115078.bkt.clouddn.com/1","album":[],"created_at":"2017-01-27 10:48:24","updated_at":"2017-01-27 10:48:24","price":"","sales":"0","url":""}]},{"id":"7","name":"电脑","created_at":"2017-01-23 17:42:31","updated_at":"2017-01-23 17:56:11","produces":[{"thumb":[],"id":"1","name":"123","model":"123","list_title":"123","description":"456","market_price":"666.00","brand":"apple","type":"电脑","list_thumb":"http://oka115078.bkt.clouddn.com/","album":["http://oka115078.bkt.clouddn.com/9f2cda30d35c7212037246e5288ed63e.png","http://oka115078.bkt.clouddn.com/128f594265efc5aa57559dbdb81dc038.png"],"created_at":"2017-01-24 18:11:35","updated_at":"2017-02-12 21:27:45","price":"","sales":"0","url":""}]}]
         * total_page :
         * current_page :
         * total :
         * access_token :
         */

        private String total_page;
        private String current_page;
        private String total;
        private String access_token;
        private List<DataEntity> data;

        public String getTotal_page() {
            return total_page;
        }

        public void setTotal_page(String total_page) {
            this.total_page = total_page;
        }

        public String getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(String current_page) {
            this.current_page = current_page;
        }

        public String getTotal() {
            return total;
        }

        public void setTotal(String total) {
            this.total = total;
        }

        public String getAccess_token() {
            return access_token;
        }

        public void setAccess_token(String access_token) {
            this.access_token = access_token;
        }

        public List<DataEntity> getData() {
            return data;
        }

        public void setData(List<DataEntity> data) {
            this.data = data;
        }

        public static class DataEntity {
            /**
             * id : 6
             * name : 手机
             * created_at : 2017-01-23 17:42:12
             * updated_at : 2017-01-23 17:56:11
             * produces : [{"thumb":[],"id":"16","name":"iPhone6","model":"iPhone6","list_title":"iPhone6","description":"水电费水电费","market_price":"2000.00","brand":"apple","type":"手机","list_thumb":"http://oka115078.bkt.clouddn.com/o_1b7f4fpk4alb1s17kah1cq81j019.png","album":["http://oka115078.bkt.clouddn.com/9f0da49d3b7d853b872672fc40c9e6d1.png","http://oka115078.bkt.clouddn.com/a10720c859c1824fe8711acda96b7ddc.png","http://oka115078.bkt.clouddn.com/2b48d54706965830f0efb5bdaa8460ec.png"],"created_at":"2017-01-28 19:32:38","updated_at":"2017-01-28 19:32:38","price":"","sales":"2000","url":""},{"thumb":[],"id":"14","name":"iPhone","model":"iPhone","list_title":"iPhone","description":"123123","market_price":"2000.00","brand":"apple","type":"手机","list_thumb":"http://oka115078.bkt.clouddn.com/1","album":[],"created_at":"2017-01-27 10:48:24","updated_at":"2017-01-27 10:48:24","price":"","sales":"0","url":""}]
             */

            private String id;
            private String name;
            private String created_at;
            private String updated_at;
            private List<ProducesEntity> produces;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }

            public String getUpdated_at() {
                return updated_at;
            }

            public void setUpdated_at(String updated_at) {
                this.updated_at = updated_at;
            }

            public List<ProducesEntity> getProduces() {
                return produces;
            }

            public void setProduces(List<ProducesEntity> produces) {
                this.produces = produces;
            }

            public static class ProducesEntity {
                /**
                 * thumb : []
                 * id : 16
                 * name : iPhone6
                 * model : iPhone6
                 * list_title : iPhone6
                 * description : 水电费水电费
                 * market_price : 2000.00
                 * brand : apple
                 * type : 手机
                 * list_thumb : http://oka115078.bkt.clouddn.com/o_1b7f4fpk4alb1s17kah1cq81j019.png
                 * album : ["http://oka115078.bkt.clouddn.com/9f0da49d3b7d853b872672fc40c9e6d1.png","http://oka115078.bkt.clouddn.com/a10720c859c1824fe8711acda96b7ddc.png","http://oka115078.bkt.clouddn.com/2b48d54706965830f0efb5bdaa8460ec.png"]
                 * created_at : 2017-01-28 19:32:38
                 * updated_at : 2017-01-28 19:32:38
                 * price :
                 * sales : 2000
                 * url :
                 */

                private String id;
                private String name;
                private String model;
                private String list_title;
                private String description;
                private String market_price;
                private String brand;
                private String type;
                private String list_thumb;
                private String created_at;
                private String updated_at;
                private String price;
                private String sales;
                private String url;
                private List<?> thumb;
                private List<String> album;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getModel() {
                    return model;
                }

                public void setModel(String model) {
                    this.model = model;
                }

                public String getList_title() {
                    return list_title;
                }

                public void setList_title(String list_title) {
                    this.list_title = list_title;
                }

                public String getDescription() {
                    return description;
                }

                public void setDescription(String description) {
                    this.description = description;
                }

                public String getMarket_price() {
                    return market_price;
                }

                public void setMarket_price(String market_price) {
                    this.market_price = market_price;
                }

                public String getBrand() {
                    return brand;
                }

                public void setBrand(String brand) {
                    this.brand = brand;
                }

                public String getType() {
                    return type;
                }

                public void setType(String type) {
                    this.type = type;
                }

                public String getList_thumb() {
                    return list_thumb;
                }

                public void setList_thumb(String list_thumb) {
                    this.list_thumb = list_thumb;
                }

                public String getCreated_at() {
                    return created_at;
                }

                public void setCreated_at(String created_at) {
                    this.created_at = created_at;
                }

                public String getUpdated_at() {
                    return updated_at;
                }

                public void setUpdated_at(String updated_at) {
                    this.updated_at = updated_at;
                }

                public String getPrice() {
                    return price;
                }

                public void setPrice(String price) {
                    this.price = price;
                }

                public String getSales() {
                    return sales;
                }

                public void setSales(String sales) {
                    this.sales = sales;
                }

                public String getUrl() {
                    return url;
                }

                public void setUrl(String url) {
                    this.url = url;
                }

                public List<?> getThumb() {
                    return thumb;
                }

                public void setThumb(List<?> thumb) {
                    this.thumb = thumb;
                }

                public List<String> getAlbum() {
                    return album;
                }

                public void setAlbum(List<String> album) {
                    this.album = album;
                }
            }
        }
    }
}
